const userManage = {
  breadcrumb: {
    crumb1: 'config',
    crumb2: 'userManage'
  },

  card: {
    title: 'user',
    table: {
      header: {
        col1: 'username',
        col2: 'character'
      },
      content: {
        col2: '{is_staff, select, true{administrator} false{general user} other{}}'
      }
    }
  },

  dialog: {
    user: {
      title: '{method, select, post{create} patch{modify} other{}} user',
      form: {
        label1: 'username',
        label2: 'password',
        label3: 'confirm password',
        label4: 'administrator permission',

        label5: 'old password',
        label6: 'new password',
        label7: 'confirm new password'
      }
    }
  },
  // 7-23
  validate: {
    user: {
      username: 'please enter user name',
      password: 'Please enter your password',
      passwordConfirm: {
        err1: 'Please enter your password again',
        err2: 'Inconsistent password input twice'
      },
      old_password: 'Please enter the old password',
      new_password: 'Please enter a new password',
      new_password_confirm: {
        err1: 'Please enter your new password again',
        err2: 'Two new password entries are inconsistent'
      }
    }
  }
}

export default userManage
